package org.hong.samples.dao;

import java.util.List;

import org.hong.samples.model.ExamSubject;
import org.hong.samples.model.ExamTest;
import org.hong.samples.model.ExamTestType;

public interface UserHibernateDAO extends BaseDAO<ExamTest>{

	public List<ExamTest> findAllUsers();
	
	public List<ExamTestType> finAllType();

	public List<ExamSubject> finAllSubject();
	
	public ExamTest getUserById(Integer id);
	
	public void editUser (ExamTest user) throws Exception;
	
	public void saveUser (ExamTest user) throws Exception;
	
	public void deleteUser(Integer id) throws Exception;

	public List<ExamTest> getTestListBySubAndTestType(Integer subId, Integer integer);

	public List<ExamTest> getTestListByIdList(List<Integer> randomTestIdList);
	
	public List<ExamTest> getTestBySubjectId(String subId);
	
}
